package com.sandking.builder.pojo;

import java.util.List;
import java.util.Set;

public class Table {
	private String className;// 原表名称
	private String className_d;// 大写表名称
	private String className_x;// 小写表名称

	private String sqlMapPackage;
	private String pojoPackage;// pojo包名称
	private String daoPackage;// dao包名称
	private String impPackage;// imp包名称
	private String extPackage;// ext包名称
	private String xmlPackage;// xml包名称
	private String xmlUrl;// xml的文件相对地址
	private List<TableCarray> tableCarrays;// 表字段
	private List<TableIndex> tableIndexs;// 表索引
	private List<TableBind> tableBinds;// 表主外键

	private Set<String> importPojos;// 需要导入的POJO

	private String stringCarrayNames1;// ","拼接大写字段
	private String stringCarrayNames2;// int id ,String userCord ,..
	private String stringCarrayNames3;// ","拼接原字段
	private String stringCarrayNames4;// "#%s#,"拼接小写字段
	private String stringCarrayNames5;// "%s=#%s#,"拼接原字段-小写字段

	public Table(String className, String classNameD, String classNameX,
			String sqlMapPackage, String pojoPackage, String daoPackage,
			String impPackage, String extPackage, String xmlPackage,
			String xmlUrl, List<TableCarray> tableCarrays,
			List<TableIndex> tableIndexs, List<TableBind> tableBinds,
			Set<String> importPojos, String stringCarrayNames1,
			String stringCarrayNames2, String stringCarrayNames3,
			String stringCarrayNames4, String stringCarrayNames5) {
		super();
		this.className = className;
		className_d = classNameD;
		className_x = classNameX;
		this.sqlMapPackage = sqlMapPackage;
		this.pojoPackage = pojoPackage;
		this.daoPackage = daoPackage;
		this.impPackage = impPackage;
		this.extPackage = extPackage;
		this.xmlPackage = xmlPackage;
		this.xmlUrl = xmlUrl;
		this.tableCarrays = tableCarrays;
		this.tableIndexs = tableIndexs;
		this.tableBinds = tableBinds;
		this.importPojos = importPojos;
		this.stringCarrayNames1 = stringCarrayNames1;
		this.stringCarrayNames2 = stringCarrayNames2;
		this.stringCarrayNames3 = stringCarrayNames3;
		this.stringCarrayNames4 = stringCarrayNames4;
		this.stringCarrayNames5 = stringCarrayNames5;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getClassName_d() {
		return className_d;
	}

	public void setClassName_d(String classNameD) {
		className_d = classNameD;
	}

	public String getClassName_x() {
		return className_x;
	}

	public void setClassName_x(String classNameX) {
		className_x = classNameX;
	}

	public String getSqlMapPackage() {
		return sqlMapPackage;
	}

	public void setSqlMapPackage(String sqlMapPackage) {
		this.sqlMapPackage = sqlMapPackage;
	}

	public String getPojoPackage() {
		return pojoPackage;
	}

	public void setPojoPackage(String pojoPackage) {
		this.pojoPackage = pojoPackage;
	}

	public String getDaoPackage() {
		return daoPackage;
	}

	public void setDaoPackage(String daoPackage) {
		this.daoPackage = daoPackage;
	}

	public String getImpPackage() {
		return impPackage;
	}

	public void setImpPackage(String impPackage) {
		this.impPackage = impPackage;
	}

	public String getExtPackage() {
		return extPackage;
	}

	public void setExtPackage(String extPackage) {
		this.extPackage = extPackage;
	}

	public String getXmlPackage() {
		return xmlPackage;
	}

	public void setXmlPackage(String xmlPackage) {
		this.xmlPackage = xmlPackage;
	}

	public String getXmlUrl() {
		return xmlUrl;
	}

	public void setXmlUrl(String xmlUrl) {
		this.xmlUrl = xmlUrl;
	}

	public List<TableCarray> getTableCarrays() {
		return tableCarrays;
	}

	public void setTableCarrays(List<TableCarray> tableCarrays) {
		this.tableCarrays = tableCarrays;
	}

	public List<TableIndex> getTableIndexs() {
		return tableIndexs;
	}

	public void setTableIndexs(List<TableIndex> tableIndexs) {
		this.tableIndexs = tableIndexs;
	}

	public List<TableBind> getTableBinds() {
		return tableBinds;
	}

	public void setTableBinds(List<TableBind> tableBinds) {
		this.tableBinds = tableBinds;
	}

	public Set<String> getImportPojos() {
		return importPojos;
	}

	public void setImportPojos(Set<String> importPojos) {
		this.importPojos = importPojos;
	}

	public String getStringCarrayNames1() {
		return stringCarrayNames1;
	}

	public void setStringCarrayNames1(String stringCarrayNames1) {
		this.stringCarrayNames1 = stringCarrayNames1;
	}

	public String getStringCarrayNames2() {
		return stringCarrayNames2;
	}

	public void setStringCarrayNames2(String stringCarrayNames2) {
		this.stringCarrayNames2 = stringCarrayNames2;
	}

	public String getStringCarrayNames3() {
		return stringCarrayNames3;
	}

	public void setStringCarrayNames3(String stringCarrayNames3) {
		this.stringCarrayNames3 = stringCarrayNames3;
	}

	public String getStringCarrayNames4() {
		return stringCarrayNames4;
	}

	public void setStringCarrayNames4(String stringCarrayNames4) {
		this.stringCarrayNames4 = stringCarrayNames4;
	}

	public String getStringCarrayNames5() {
		return stringCarrayNames5;
	}

	public void setStringCarrayNames5(String stringCarrayNames5) {
		this.stringCarrayNames5 = stringCarrayNames5;
	}

}
